package gen

// builtins map
var builtins = map[string]string{
	"bool":        "boolean",
	"byte":        "b",
	"complex64":   "c64",
	"complex128":  "c128",
	"error":       "err",
	"float32":     "f32",
	"float64":     "f64",
	"int":         "integer",
	"int8":        "integer8",
	"int16":       "integer16",
	"int32":       "integer32",
	"int64":       "integer64",
	"rune":        "ru",
	"string":      "str",
	"uint":        "uinteger",
	"uint8":       "uinteger8",
	"uint16":      "uinteger16",
	"uint32":      "uinteger32",
	"uint64":      "uinteger64",
	"uintptr":     "uintpointer",
	"true":        "yes",
	"false":       "no",
	"iota":        "ita",
	"nil":         "null",
	"append":      "app",
	"cap":         "capacity",
	"close":       "cls",
	"complex":     "cpx",
	"copy":        "cpy",
	"delete":      "del",
	"imag":        "img",
	"len":         "l",
	"make":        "mk",
	"new":         "nw",
	"panic":       "pnc",
	"print":       "prt",
	"println":     "prtln",
	"real":        "rl",
	"recover":     "rec",
	"break":       "brk",
	"default":     "def",
	"func":        "fn",
	"func()":      "fn",
	"interface":   "iface",
	"interface{}": "iface",
	"select":      "sel",
	"case":        "cs",
	"defer":       "dfr",
	"go":          "g",
	"map":         "mp",
	"struct":      "structure",
	"chan":        "chn",
	"else":        "els",
	"goto":        "gto",
	"package":     "pkg",
	"switch":      "swch",
	"const":       "cst",
	"fallthrough": "flth",
	"if":          "ifs",
	"range":       "rng",
	"type":        "kind",
	"continue":    "cont",
	"for":         "fors",
	"import":      "imp",
	"return":      "ret",
	"var":         "v",
}

// default map
var defaults = map[string]interface{}{
	"bool":       false,
	"byte":       0,
	"complex64":  0,
	"complex128": 0,
	"error":      nil,
	"float32":    0,
	"float64":    0,
	"int":        0,
	"int8":       0,
	"int16":      0,
	"int32":      0,
	"int64":      0,
	"rune":       0,
	"string":     "",
	"uint":       0,
	"uint8":      0,
	"uint16":     0,
	"uint32":     0,
	"uint64":     0,
	"uintptr":    0,
	"nil":        nil,
	"complex":    0,
	"real":       0,
	"func":       nil,
	"interface":  nil,
	"map":        nil,
	"struct":     nil,
	"chan":       nil,
}
